﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace B13_Ex03_David_300512340_Alexey_321203689
{
    /// <summary>
    /// This class holding the values for the search post
    /// </summary>
    public class ValuesToSearch
    {
        public string WordToSearch { get; private set; }
        
        public DateTime StartDate { get; private set; }
        
        public DateTime EndDate { get; private set; }
        
        public UserWrapper User { get; private set; }

        public ValuesToSearch(string i_WordToSearch, UserWrapper i_User)
        {
            WordToSearch = i_WordToSearch;
            User = i_User;
        }

        public ValuesToSearch(DateTime i_StartDate, DateTime i_EndDate, UserWrapper i_User)
        {
            StartDate = i_StartDate;
            EndDate = i_EndDate;
            User = i_User;
        }

        public ValuesToSearch(string i_WordToSearch, DateTime i_StartDate, DateTime i_EndDate, UserWrapper i_User)
        {
            WordToSearch = i_WordToSearch;
            StartDate = i_StartDate;
            EndDate = i_EndDate;
            User = i_User;
        }
    }
}
